checking migration possibility