import __main__ as m


def is_running_interactive() -> bool:
    """Check if we're running in an REPL"""
    try:

        return not hasattr(m, "__file__")
    except Exception as e:
        print(e)
        pass

    return False