You like one of your friend girls but how do you know if she likes you back?

First of all this is hard because its weird to if you like your friends girl then do not keep it a secret to the boyfriend at the same time dont get beaten. typed by a girl