How about extracting these repeated 3 lines into a ``_isDateTime($check)``, which could then be used by other validation rules (for example user land ones?