Is better to check this as `$search.is(":disabled")`