code: def matches(self, ldap_filter):
          # type: (Any[str, pelix.ldapfilter.LDAPFilter]) -> bool
          
          return pelix.ldapfilter.get_ldap_filter(ldap_filter).matches(
              self.__properties
          )
docs: Tests the properties of this EndpointDescription against the given
          filter
  
          :param ldap_filter: A filter
          :return: True if properties matches the filter