def is_descriptor_class(desc, include_abstract=False):
return (<EOL>isinstance(desc, type)<EOL>and issubclass(desc, Descriptor)<EOL>and (True if include_abstract else not inspect.isabstract(desc))<EOL>)<EOL>
r"""Check calculatable descriptor class or not.

    Returns:
        bool