Modified any and all to return bool only if axis is None