I\'m writing a bash script where I have to call a function in two places. In one place when I call that function, I have to check whether all 4 attributes are present in an arra