@classmethod
def __allow__(cls, name: str) ->bool:
    """Tell if the given name is an allowed python prop name.

        Parameters
        ----------
        name : str
            The name to check.

        Returns
        -------
        bool
            ``True`` if the name is allowed, ie defined as a prop, or starting with ``aria_``
            or ``data_``.  ``False`` otherwise.

        """
    return name in cls.__types__ or name.startswith('data_'
        ) or name.startswith('aria_')
