$("#input_3_27").is(":hidden")
Also more secure way to achieve same effect is:
('#yourID').attr('type') == 'hidden'; // this will also return a boolean
EDIT: By secure I mean, the .is(:hidden)
will still work if you style the element with display:none
.