For example, one column in my table is an array, I want to check if that column contains an element that contains substring \"denied\" (so elements like \"denied at 12:00 pm\",
See array operator docs here
contains(array_column,'denied')