Check array for commands rather than existence.