I think you can just write `if isinstance(arg, Number):` since we should be working with a sympified arg at this point (I think). Then return as `return True if arg else False`