from typing import Union
from typing import Any


def gte(query: Union[int, float], field_name: str, object: Any) -> bool:
    """
    Check if value of object is greater than or equal to value of query
    """
    return float(getattr(object, field_name)) >= float(query)