patch check for ycm inclusion