/Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMesh.h
This is a bit hacky. If you are inherriting from SkeletalMesh you can opt out of using the skeletal mesh actor factory. Note that this only works for one level of inherritence and is not a good long term solution
virtual bool HasCustomActorFactory() const