IT doesnt matter, especialy ona night out. girls only really tell you they have a boyfriend for several reasons. but none should scare you off. because you should be coming across as a friend.
1~ you come on too strong and it scares her-she will lie,say her nice male friends her guy, reveal she has a boyfriend, or just say she has one to get you away. play it, say"erm ok? but i dont see how taht has anything to do with blah blah blah" make ehr feel foolish for saying it like the very idea of you hitting on her is obserd, fromt hat talk abit more and excuse yourself with your time constraint or change targets.
2~shes testing the water, shes trying to see how you react to the idea of her being taken, she may have a bf and is so attracted to you that shes willing to cheat, if so carry on, she may be open to the idea but not sure and wants tos ee how you react to the idea.(remain strong in this case), maybe she hasnt got one at all and she just wants to see if you'll stick around casue your genuin if so keep at it. aslong as you get ioi's you keep sarging and escilating.
3~shes done! look for body language how IOD and then excuse yourself doesnt amtter if she has one or not simply admit defeat at some point you've said something wrong, or made a fool out of her 1 to many times either way you dont stick around, use your time constraint and excuse yourself before she or her non-fake Bf kill you for becoming a creep Ha!
on a side note dont worry about the BF thing, its not your responsability to moderate their relationship if any. and you cant help who you are attracted to. never ask about boyfriends and never care what she says, care how she acts becasue you shouldnt end your game becasue of a b oyfreind that may not exist and miss out on either a girlfriend, a good night(s) or a friend that oculd lead you to other targets!
best of luck