protected boolean isPredicateExists(List<Predicate> predicateList) {
    if (predicateList == null || predicateList.isEmpty()) {
      return false;
    }
    return true;
  }
protected boolean isPredicateExists ( List < Predicate > predicateList ) { if ( predicateList == null || predicateList . isEmpty ( ) ) { return false ; } return true ; }
@param predicateList predicate list
@return true, if there are any predicates. otherwise, return false.