check if project exist in the main title directive