I know this may be a silly question, but I come across a snippet of php code that check if the $_POST is_array() before execute other functions.
$_POST
is_array()
If it hasn't been changed in some manner like
$_POST = 'not array';
then it is array ;-)