should be `if (is_array($args)) {`