That's the way to bet.
The gunman’s contact with LE was a 5150 check and LE made the judgement to let him go. LE aren’t licensed mental health care professionals.