Could probably fold this is into _pickBy