add method to check if in mcap project