Given an array containing only integers, add all the elements and return the binary equivalent of that sum.
If the array contains any non-integer element (e.g. an object, a float, a string and so on), return false.
**Note:** The sum of an empty array is zero.
```python
arr2bin([1,2]) == '11'
arr2bin([1,2,'a']) == False
```
def arr2bin(arr):
    return all(isinstance(n, int) and not isinstance(n, bool) for n in arr) and bin(sum(n for n in arr))[2:]
def arr2bin(arr):
    return all(isinstance(n, int) and not isinstance(n, bool) for n in arr) and bin(sum(n for n in arr))[2:]