def is_excluded_dir(self, path):
if self.is_excluded(path):<EOL><INDENT>return True<EOL><DEDENT>return matches_masks(path.name, ALWAYS_EXCLUDED_DIRS)<EOL>
Determines whether or not the specified directory is excluded by the
project's configuration.

:param path: the path to check
:type path: pathlib.Path
:rtype: bool