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

        return (0 < count(array_intersect(self::$joinCriteria, array_keys($criteria))));
    }