code: public boolean hasProperty(String name) {
          for (Property property : allProperties()) {
              if (property.getName().equals(name)) {
                  return true;
              }
          }
          return false;
      }
docs: This method determines whether there is atleast one
  property with the supplied name.
  
  @param name The property name
  @return Whether a property of the supplied name is defined