How to correctly setup perforce with a Unreal Project that uses C++ Code

Is the file checked out?