code: public boolean hasProperties(String... properties) {
          for (String property : properties) {
              if (!hasProperty(property)) {
                  return false;
              }
          }
          return true;
      }
docs: 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