check for the allow recursion string