Check if the given component is an instance of Collider.
Collider
bool isValid(Component c) => c is Collider;