<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def has_role(self, role):
        '''
        Check whether the Launch Paramters set the role.
        '''
        return self.roles and any([re.search(role, our_role, re.I)
                                   for our_role in self.roles])