+ /**
+ * This method checks if a provided directory path is valid based on the specified existence type.
+ *
+ * @param value The directory path to validate.
+ * @return True if the directory path is valid according to the existence type, otherwise false.
+ */