#[Pyth], 5 bytes

    ._.&E

[Try it here.](http://pyth.herokuapp.com/?code=._.%26E&input=13%0A4&debug=0)

Notice the cute face `._.`

[Pyth]: https://pyth.readthedocs.io

-----

#How?

<pre>
._.&EQ  -  Q means input and is implicit.

  .&    - Bitwise AND between:
    E     - The second input and
     Q    - The first input.
._      - Sign. 0 if it equals 0, 1 otherwise.
</pre>

If inconsistent values are allowed:

#[Pyth], 3 bytes

    .&E

[Try it here.](http://pyth.herokuapp.com/?code=.%26E&input=13%0A4&debug=0)