I am shortening the C++ logic correctly?

I am trying to achieve this, with simple if( : : IsValid(ChildMesh) && (IsValid(ChildMesh->SkeletalMesh)) I can do it and its working, but I want to go advance and learn operator ( ? )