Returns true if the given element matches the pattern.
When implementing your own MatchFinder, this is the main method to override.
bool matches(Element candidate);