def METHOD_NAME(flagoption):
    result = string_to_argument(flagoption.get_name())
    if isinstance(flagoption, Option):
        # TODO: add argument here as well but eventually also fid
        assert False
    return result