<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def special_get_field(self, value, args, kwargs, format_spec=None):
 """Also take the spec into account"""

        if value in self.chain:
            raise BadOptionFormat("Recursive option", chain=self.chain + [value])