UStaticMeshComponent::HasValidSettingsForStaticLighting

Returns true if the component is static AND has the right static mesh setup to support lightmaps.