Add checking if the argument passed to is_srt is NULL