/**
  * @param IControl $control
  * @return bool
  */
 public static function validateDateInputFilled(IControl $control)
 {
     if (!$control instanceof static) {
         throw new InvalidArgumentException("Given control object must be instance of '" . get_class() . "'.");
     }
     return !$control->isEmpty();
 }