public static function hasJoinCriteria(array $criteria = null)
    {
        if (null === $criteria) {
            return false;
        }

        return (0 < count(array_intersect(self::$joinCriteria, array_keys($criteria))));
    }
public static function hasJoinCriteria(array $criteria = null)
    {
        if (null === $criteria) {
            return false;
        }

        return (0 < count(array_intersect(self::$joinCriteria, array_keys($criteria))));
    }
public static function hasJoinCriteria ( array $ criteria = null ) { if ( null === $ criteria ) { return false ; } return ( 0 < count ( array_intersect ( self :: $ joinCriteria , array_keys ( $ criteria ) ) ) ) ; }
Are some criteria joined fields of section?

@param  array|null           $criteria           Optional, the criteria to test

@return boolean                                  True if some criteria are joined fields of section, false elsewhere
Are some criteria joined fields of section?