`if (!is_dir($directory = ...` ?