Remove unnecessary predicate in has method