Implement IsSolid method.