<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def contains_geometric_info(var):
 """ Check whether the passed variable is a tuple with two floats or integers """

    return isinstance(var, tuple) and len(var) == 2 and all(isinstance(val, (int, float)) for val in var)