<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resolve_randconfig(self, args):
 """Get the name of the specturm file based on the job arguments"""

        ttype = args.get('ttype')
        if is_null(ttype):
            sys.stderr.write('Target type must be specified')
            return None
        name_keys = dict(target_type=ttype,
                         fullpath=True)
        randconfig = self.randconfig(**name_keys)
        rand_override = args.get('rand_config')
        if is_not_null(rand_override):
            randconfig = rand_override
        return randconfig