Cleaned up isSwiftEnabled Method