public boolean hasProperties(String... properties) {
        for (String property : properties) {
            if (!hasProperty(property)) {
                return false;
            }
        }
        return true;
    }
public boolean hasProperties(String... properties) {
        for (String property : properties) {
            if (!hasProperty(property)) {
                return false;
            }
        }
        return true;
    }
public boolean hasProperties ( String ... properties ) { for ( String property : properties ) { if ( ! hasProperty ( property ) ) { return false ; } } return true ; }
Check if this entity contains all of the given properties.

@param properties Names of the properties
@return True, if and only if the given properties are present in this entity
Check if this entity contains all of the given properties .