<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check(self, options=None):
 """check for ambiguous keys and move attributes into dict"""

        self.check_values(options)
        self.check_attributes(options)
        self.check_values(options)
        return self