def _get_decorator_args(decorator):
    """Gets the string arguments for a given decorator

    Args:
        decorator (AST.node.decorator): A decorator

    Returns:
        list: a list of args that are strings from the passed decorator
    """
    args = []
    try:
        for arg in decorator.args:
            args.append(arg.s)
    except AttributeError:
        pass
    return args