<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _any_pandas_objects(terms):
 """Check a sequence of terms for instances of PandasObject."""

    return any(isinstance(term.value, pd.core.generic.PandasObject)
               for term in terms)