import pathlib


def dev_mode(bypass=False):
    """Check if user is me. if yes dont upload to server.

    If I need to test uploading to the server then I must supply a value
    to bypass.

    Argument:
        bypass [bool] - if True, it nullifies the dev_mode - [default]: False
    """
    if bypass:
        ask = input("You have bypassed dev_mode! are you sure? y/n\n> ")
        if ask == "y":
            return None
    if "virgilsisoe" in str(pathlib.Path().home()):
        return True
    return None