parameters: (self, field, other_fields)
return_statement: return (field.name in self._onchange_methods) or any(
              dep in other_fields for dep in self._dependent_fields(field.base_field)
          )
docstring: Return whether ``field`` should trigger an onchange event in the
              presence of ``other_fields``.
docstring_summary: Return whether ``field`` should trigger an onchange event in the
              presence of ``other_fields``.
docstring_tokens: Return whether field should trigger an onchange event in the presence of other_fields .
function: def _has_onchange(self, field, other_fields):
          """ Return whether ``field`` should trigger an onchange event in the
              presence of ``other_fields``.
          """
          return (field.name in self._onchange_methods) or any(
              dep in other_fields for dep in self._dependent_fields(field.base_field)
          )
function_tokens: def _has_onchange ( self , field , other_fields ) : return ( field . name in self . _onchange_methods ) or any ( dep in other_fields for dep in self . _dependent_fields ( field . base_field ) )