/Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h
Returns true if the component is static AND has the right static mesh setup to support lightmaps.
virtual bool HasValidSettingsForStaticLighting ( bool bOverlookInvalidComponents ) const