code: def _constraints_are_whitelisted(self, constraint_tuple):
      
      if self._acceptable_interpreter_constraints == []:
        # The user wants to lint everything.
        return True
      return all(version.parse(constraint) in self._acceptable_interpreter_constraints
             for constraint in constraint_tuple)
docs: Detect whether a tuple of compatibility constraints
      matches constraints imposed by the merged list of the global
      constraints from PythonSetup and a user-supplied whitelist.