Hi Shubham,
With a boolean attribute you can also use a checkbox or a switch, these do not use the yes/no options. Or if you want specific options, your best option would be to use an enumeration. If this is not the answer you were looking for can you elaborate more?