def is_point_in_rect2(point, rect_center, rect_w, rect_h):
  """Checks whether is coordinate point inside the rectangle or not.
  Rectangle is defined by center and linear sizes.

  :type point: list
  :param point: testing coordinate point

  :type rect_center: list
  :param rect_center: point, center of rectangle

  :type rect_w: float
  :param rect_w: rectangle width

  :type rect_h: float
  :param rect_h: rectangle height

  :rtype: boolean
  :return: boolean check result
  """
  cx, cy = rect_center
  x, y = point
  if abs(x - cx) <= rect_w / 2.0 and abs(y - cy) <= rect_h / 2.0:
    return True
  return False