<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def in_region(rname, rstart, target_chr, target_start, target_end):
 """ Quick check if a point is within the target region. """

    return (rname == target_chr) and \
           (target_start <= rstart <= target_end)