I want to use "if" to check if array include a specific variable. Something like:
if ($var exist in $array) then //execute commands endif