Add in atom getPredicate pair bool , true if have predicate