def get_revision():
    package_dir = os.path.dirname(__file__)
    checkout_dir = os.path.normpath(os.path.join(package_dir, os.pardir, os.pardir))
    path = os.path.join(checkout_dir, '.git')
    if os.path.exists(path):
        return _get_git_revision(path)
    return None
Return a boolean if we if the passed type is an actual dtype that
dataset/ETHPy150Open getsentry/raven-python/raven/__init__.py/get_revision--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/types/dtypes.py/ExtensionDtype.is_dtype