def METHOD_NAME(self, x):
    F = self.F
    value = self.value
    is_both_nan = F.broadcast_logical_and(
        F.contrib.isnan(x), F.contrib.isnan(value)
    )
    is_greater_equal_or_both_nan = F.broadcast_logical_or(
        (x >= value), is_both_nan
    )
    return is_greater_equal_or_both_nan