/**
* Checks if resource is not blank or empty
*
* @param mixed $check Array or string
* @return boolean
*/
static function blank($check)
{
if (empty($check)) {
return true;
}
if (TransferValidation::fileUpload($check) && $check['error'] == UPLOAD_ERR_NO_FILE) {
return true;
}
if (is_string($check) && Validation::blank($check)) {
return true;
}
return false;
}