@classmethod<EOL><INDENT>def key_to_property(cls, key):<DEDENT>
if key.kind() == Kind.KIND_NAME:<EOL><INDENT>return None<EOL><DEDENT>else:<EOL><INDENT>return key.id()<EOL><DEDENT>
Return the property specified by a given __property__ key.

        Args:
          key: key whose property name is requested.

        Returns:
          property specified by key, or None if the key specified only a kind.