<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_maybe_starargs(cls, args, use_comma=True):
 """If `args` has one element which appears to be a list, return it. Otherwise, return a list as normal. support, so they can accept both a list of arguments and a single list stored in a variable. """

        if len(args) == 1:
            if isinstance(args[0], cls):
                return args[0]
            elif isinstance(args[0], (list, tuple)):
                return cls(args[0], use_comma=use_comma)

        return cls(args, use_comma=use_comma)