use OC\Files\Filesystem; if (Filesystem::isIgnoredDir('/path/to/ignored/dir')) { echo "This directory is ignored!"; }In this code example, we're using the `Filesystem` class from the `oc.files` package to check if the `/path/to/ignored/dir` directory should be ignored. If the directory is ignored, a message will be printed to the screen. The `oc.files` package is part of the ownCloud PHP library, which provides functions for working with files and folders in an ownCloud installation. The package includes classes that allow you to perform operations like directory scanning, file uploads, and file downloads, among other things.