an empty array is:
$emptyArray = array();
check its empty:
if( empty( $emptyArray ) ){
echo 'array is empty';
}
if array is not empty:
$notEmptyArray = array( 'item' );
check its not empty:
if( !empty( $notEmptyArray ) ){
echo 'array not empty';
}
there are other ways of doing it, but the empty function built for this sort of thing.