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