<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def no_imls(self):
 """ Return True if there are no intensity measure levels """

        return all(numpy.isnan(ls).any() for ls in self.imtls.values())