Validates that the given file is valid and can be imported.
$imported_file: File path to the file to be imported.
bool $is_file: (optional) Whether $imported_file is the path to a file or not.
Job Returns the corresponding translation job entity if the import file is valid, FALSE otherwise.
function validateImport($imported_file, $is_file = TRUE);