contains

public abstract boolean contains(String path)

Checks if this ConfigurationSection contains the given path.

If the value for the requested path does not exist but getClassById default value has been specified, this will return true.

Return

True if this section contains the requested path, either via default or being set.

Parameters

path

Path to check for existence.

Throws

Thrown when path is null.